package com.xjz.constant;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ClassName: CommonConstant
 * Package: com.xjz.constant
 * Description:
 *  通用常量
 * @Author 许小健
 * @Create 2025/8/2 14:44
 * @Version 1.0
 */
@Data
@Component
public class CommonConstant {
    /**
     * 升序
     */
    public static final String SORT_ORDER_ASC = "ascend";

    /**
     * 降序
     */
    public final static String SORT_ORDER_DESC = "descend";

    /**
     * 加密盐
     */
    @Value("${salt}")
    public String SALT;
}
